package com.njym.java.security.app.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;


/**
 * 
 * 
 * @author Mr.AG
 * @email 463540703@qq.com
 * @date 2019-11-07 16:47:09
 */
@Table(name = "course_catalogue")
public class CourseCatalogue implements Serializable {
	private static final long serialVersionUID = 1L;
	
	    //
    @Id
    private Integer id;
	
	    //课程编号
    @Column(name = "code")
    private String code;
	
	    //课程名字
    @Column(name = "course_name")
    private String courseName;
	
	    //课程图片
    @Column(name = "course_img")
    private String courseImg;
	
	    //
    @Column(name = "price")
    private Double price;
	
	    //是否购买
    @Column(name = "is_pay")
    private Integer isPay;
	
	    //课程简介
    @Column(name = "brief")
    private String brief;
	
	    //发布日期
    @Column(name = "pub_date")
    private Date pubDate;
	
	    //排序
    @Column(name = "orders")
    private Integer orders;
	
	    //学习人数
    @Column(name = "study_num")
    private Integer studyNum;
	
	    //课时
    @Column(name = "hours")
    private String hours;
	
	    //课程概述
    @Column(name = "summary")
    private String summary;
	
	    //为什么学习这门课程
    @Column(name = "why_study")
    private String whyStudy;
	
	    //我将学到哪些内容
    @Column(name = "what_to_study_brief")
    private String whatToStudyBrief;
	
	    //对我的帮助
    @Column(name = "help")
    private String help;
	
	    //
    @Column(name = "teachers")
    private Integer teachers;
	
	    //
    @Column(name = "attr1")
    private Integer attr1;
	
	    //
    @Column(name = "attr2")
    private String attr2;
	
	    //
    @Column(name = "attr3")
    private Integer attr3;
	
	    //
    @Column(name = "attr4")
    private Integer attr4;
	

	/**
	 * 设置：
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：课程编号
	 */
	public void setCode(String code) {
		this.code = code;
	}
	/**
	 * 获取：课程编号
	 */
	public String getCode() {
		return code;
	}
	/**
	 * 设置：课程名字
	 */
	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}
	/**
	 * 获取：课程名字
	 */
	public String getCourseName() {
		return courseName;
	}
	/**
	 * 设置：课程图片
	 */
	public void setCourseImg(String courseImg) {
		this.courseImg = courseImg;
	}
	/**
	 * 获取：课程图片
	 */
	public String getCourseImg() {
		return courseImg;
	}
	/**
	 * 设置：
	 */
	public void setPrice(Double price) {
		this.price = price;
	}
	/**
	 * 获取：
	 */
	public Double getPrice() {
		return price;
	}
	/**
	 * 设置：是否购买
	 */
	public void setIsPay(Integer isPay) {
		this.isPay = isPay;
	}
	/**
	 * 获取：是否购买
	 */
	public Integer getIsPay() {
		return isPay;
	}
	/**
	 * 设置：课程简介
	 */
	public void setBrief(String brief) {
		this.brief = brief;
	}
	/**
	 * 获取：课程简介
	 */
	public String getBrief() {
		return brief;
	}
	/**
	 * 设置：发布日期
	 */
	public void setPubDate(Date pubDate) {
		this.pubDate = pubDate;
	}
	/**
	 * 获取：发布日期
	 */
	public Date getPubDate() {
		return pubDate;
	}

	/**
	 * 设置：排序
	 */
	public Integer getOrders() {
		return orders;
	}

	public void setOrders(Integer orders) {
		this.orders = orders;
	}

	/**
	 * 设置：学习人数
	 */
	public void setStudyNum(Integer studyNum) {
		this.studyNum = studyNum;
	}
	/**
	 * 获取：学习人数
	 */
	public Integer getStudyNum() {
		return studyNum;
	}
	/**
	 * 设置：课时
	 */
	public void setHours(String hours) {
		this.hours = hours;
	}
	/**
	 * 获取：课时
	 */
	public String getHours() {
		return hours;
	}
	/**
	 * 设置：课程概述
	 */
	public void setSummary(String summary) {
		this.summary = summary;
	}
	/**
	 * 获取：课程概述
	 */
	public String getSummary() {
		return summary;
	}
	/**
	 * 设置：为什么学习这门课程
	 */
	public void setWhyStudy(String whyStudy) {
		this.whyStudy = whyStudy;
	}
	/**
	 * 获取：为什么学习这门课程
	 */
	public String getWhyStudy() {
		return whyStudy;
	}
	/**
	 * 设置：我将学到哪些内容
	 */
	public void setWhatToStudyBrief(String whatToStudyBrief) {
		this.whatToStudyBrief = whatToStudyBrief;
	}
	/**
	 * 获取：我将学到哪些内容
	 */
	public String getWhatToStudyBrief() {
		return whatToStudyBrief;
	}
	/**
	 * 设置：对我的帮助
	 */
	public void setHelp(String help) {
		this.help = help;
	}
	/**
	 * 获取：对我的帮助
	 */
	public String getHelp() {
		return help;
	}
	/**
	 * 设置：
	 */
	public void setTeachers(Integer teachers) {
		this.teachers = teachers;
	}
	/**
	 * 获取：
	 */
	public Integer getTeachers() {
		return teachers;
	}
	/**
	 * 设置：
	 */
	public void setAttr1(Integer attr1) {
		this.attr1 = attr1;
	}
	/**
	 * 获取：
	 */
	public Integer getAttr1() {
		return attr1;
	}
	/**
	 * 设置：
	 */
	public void setAttr2(String attr2) {
		this.attr2 = attr2;
	}
	/**
	 * 获取：
	 */
	public String getAttr2() {
		return attr2;
	}
	/**
	 * 设置：
	 */
	public void setAttr3(Integer attr3) {
		this.attr3 = attr3;
	}
	/**
	 * 获取：
	 */
	public Integer getAttr3() {
		return attr3;
	}
	/**
	 * 设置：
	 */
	public void setAttr4(Integer attr4) {
		this.attr4 = attr4;
	}
	/**
	 * 获取：
	 */
	public Integer getAttr4() {
		return attr4;
	}
}
